﻿using System.Collections.Generic;

namespace BlogDemo.Application
{
    public abstract class LinkedResourceBase //: EntityBase
    {
        public ICollection<LinkDto> Links { get; set; } = new List<LinkDto>();
    }
    public class LinkedCollectionResourceWrapperViewModel<T> : LinkedResourceBase
        where T : LinkedResourceBase
    {
        public LinkedCollectionResourceWrapperViewModel(IEnumerable<T> value)
        {
            Value = value;
        }
        public IEnumerable<T> Value { get; set; }
    }
}
